package com.jfinal.plugin.activerecord.sql;

import com.jfinal.template.Env;
import com.jfinal.template.io.Writer;
import com.jfinal.template.stat.Scope;

import io.jboot.web.directive.base.JbootDirectiveBase;

/**
 * @author 胡高
 * @date 2022/04/15
 */
public abstract class JbsaDirectiveBase extends JbootDirectiveBase {

    protected static final String SQL_PARA_KEY = SqlKit.SQL_PARA_KEY;

    protected static final String PARA_ARRAY_KEY = SqlKit.PARA_ARRAY_KEY;

    protected static final String SQL_TEMPLATE_MAP_KEY = SqlKit.SQL_TEMPLATE_MAP_KEY;

    /* (non-Javadoc)
     * @see io.jboot.web.directive.base.JbootDirectiveBase#onRender(com.jfinal.template.Env, com.jfinal.template.stat.Scope, com.jfinal.template.io.Writer)
     */
    @Override
    public abstract void onRender(Env env, Scope scope, Writer writer);

}
